home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / lan / rpssrv.zip / RPNT-DEL.CMD < prev    next >
OS/2 REXX Batch file  |  1996-05-04  |  1KB  |  36 lines

  1. @echo off
  2. if "%1"=="" goto done
  3. if not exist %1\*.* goto done
  4. echo You are about to remove the Remote Process and Shutdown Service
  5. echo from %1.
  6. echo. 
  7. yesno Do you wish to continue with this un-install process
  8. if errorlevel 1 goto YES1
  9. goto DONE
  10. :YES1
  11. echo.
  12. if exist %1\RPSSNT.EXE %1\RPSSNT -uninstall
  13. if exist %1\RPSSNT.EXE del %1\RPSSNT.EXE
  14. if exist %1\RshutNT.EXE %1\RshutNT -remove
  15. if exist %1\RshutNT.EXE del %1\RshutNT.exe
  16. if exist %1\RPSREG.EXE del %1\RPSREG.EXE
  17. if exist %1\RPSC.EXE del %1\RPSC.EXE
  18. if exist %1\INSTHELP.DLL del %1\INSTHELP.DLL
  19. if exist %1\*.TXT del %1\*.TXT
  20. if exist %1\*.ICO del %1\*.ICO
  21. if exist %1\RPSS.WRI del %1\RPSS.WRI
  22. if exist %1\RPNT-INS.CMD del %1\RPNT-INS.CMD
  23. if exist %windir%\SYSTEM32\RPSS.CPL del %windir%\SYSTEM32\RPSS.CPL
  24. if exist %windir%\SYSTEM32\ShutDnNT.exe del %windir%\SYSTEM32\ShutDnNT.exe
  25. rem rd /q /s %1
  26. rd %1
  27. echo.
  28. echo Remote Process and Shutdown Service has been removed.
  29. echo.
  30. echo You will need to manually delete any program groups
  31. echo or icons which relate to this application.
  32. echo.
  33. pause
  34. :done
  35. EXIT
  36.